import { wechatrequest } from './API/request'

/**
 * 支付统一接口
 */
export const payRequest = submitData => {
  submitData.payWay = 'wxSmallProgram'
  return wechatrequest.postparams('/pay/pay', {
    data: submitData
  })
}
